package com.wu01.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

import javax.servlet.annotation.WebServlet;

@SpringBootApplication
@MapperScan(value = "com.wu01.demo.mapper")
@EnableCaching
@ServletComponentScan(basePackages = "com.wu01.demo")
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
}
